package analysis;

import java.util.ArrayList;

import objects.GeneralLog;

public class SeatbeltRecord extends Record{
	private ArrayList<GeneralLog> dailyseatlogs;

        public SeatbeltRecord() {
                super();
                dailyseatlogs = new ArrayList<GeneralLog>();
        }

	public void setSeatbeltlogs(ArrayList<GeneralLog> dailyseatlogs) {
		this.dailyseatlogs = dailyseatlogs;
	}

	public ArrayList<GeneralLog> getSeatbeltlogs() {
		return dailyseatlogs;
	}
	@Override
	public void display(){
		super.display();
	}
	
	@Override
	public void displayLogs() {
		if (dailyseatlogs.size() > 0)
		{
			for(GeneralLog l : dailyseatlogs) {
				l.display();
			}
		}
	}

	
}
